import pyhk

def fun():
        print "Do something"

#create pyhk class instance    
hot = pyhk.pyhk()

#add hotkey
id1 = hot.addHotkey(['9'],fun, up=True)

##hot.removeHotkey()

#start looking for hotkey.
hot.start()

